package com.eastfair.venuebooking.api;
import com.eastfair.core.base.R;
import com.eastfair.venuebooking.dto.ContractManageDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 合同 feign.
 *
 * @author dqq
 * @date 2022 /6/27
 */
@FeignClient(value = "venue-booking/contractManage")
public interface ContractManageFeign {

    /**
     * 款/取消认款 之后更新合同.
     *
     * @param contractManageDTO the contract manage dto
     * @return the r
     */
    @PostMapping("/update/collect")
    R<Boolean> updateForCollect(@RequestBody ContractManageDTO contractManageDTO);
}
